<form action="" method="post">

<div>
<select id="skin" onchange="setActiveStyleSheet(this.form.skin.options[this.form.skin.selectedIndex].value)">
	<option value="original">original</option>
<?php
$dir = @opendir("../../skins/");
	while ($file = readdir($dir))
	{
		if (($file != ".") && ($file != "..") && ($file != "controls") && ($file != "menu") && ($file != "original") && (is_dir("../../skins/".$file) != 0))
		{echo '<option value="'.$file.'">'.$file.'</option>';}
	}
closedir($dir);
?>
</select>
</div>

</form>
